updating oE text_color
text_color
include graphics.e namespace graphics public procedure text_color(color c)
sets the foreground text color.
Parameters:
- c : the new text color. Add BLINKING to get blinking text in some modes.
Comments:
Text that you print after calling text_color will have the desired color.
When your program terminates, the last color that you selected and actually printed on the screen will remain in effect. Thus you may have to print something, maybe just '\n', in WHITE to restore white text, especially if you are at the bottom line of the screen, ready to scroll up.
Example 1:
text_color(BRIGHT_BLUE)
See Also:
Not Categorized, Please Help
|